package com.community.pojo;

import java.util.Date;

public class Answer {

    public static final String ENTITYNAME = "Answer";

    private Integer id;

    private Integer qid;

    private Integer commentmode;

    private Integer anonymous;

    private Integer reprint;

    private Date times;

    private String ip;

    private Integer show;

    private String username;

    private Integer adopt;

    private Integer commentNums;

    private Integer likeNums;

    private Integer answerModel;

    private Double answerMoney;

    private Date createTime;

    private Date updateTime;

    public Answer(Integer id, Integer qid, Integer commentmode, Integer anonymous, Integer reprint, Date times, String ip, Integer show, String username, Integer adopt, Integer commentNums, Integer likeNums, Integer answerModel, Double answerMoney, Date createTime, Date updateTime) {
        this.id = id;
        this.qid = qid;
        this.commentmode = commentmode;
        this.anonymous = anonymous;
        this.reprint = reprint;
        this.times = times;
        this.ip = ip;
        this.show = show;
        this.username = username;
        this.adopt = adopt;
        this.commentNums = commentNums;
        this.likeNums = likeNums;
        this.answerModel = answerModel;
        this.answerMoney = answerMoney;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Answer() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public Integer getCommentmode() {
        return commentmode;
    }

    public void setCommentmode(Integer commentmode) {
        this.commentmode = commentmode;
    }

    public Integer getAnonymous() {
        return anonymous;
    }

    public void setAnonymous(Integer anonymous) {
        this.anonymous = anonymous;
    }

    public Integer getReprint() {
        return reprint;
    }

    public void setReprint(Integer reprint) {
        this.reprint = reprint;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Integer getShow() {
        return show;
    }

    public void setShow(Integer show) {
        this.show = show;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getAdopt() {
        return adopt;
    }

    public void setAdopt(Integer adopt) {
        this.adopt = adopt;
    }

    public Integer getCommentNums() {
        return commentNums;
    }

    public void setCommentNums(Integer commentNums) {
        this.commentNums = commentNums;
    }

    public Integer getLikeNums() {
        return likeNums;
    }

    public void setLikeNums(Integer likeNums) {
        this.likeNums = likeNums;
    }

    public Integer getAnswerModel() {
        return answerModel;
    }

    public void setAnswerModel(Integer answerModel) {
        this.answerModel = answerModel;
    }

    public Double getAnswerMoney() {
        return answerMoney;
    }

    public void setAnswerMoney(Double answerMoney) {
        this.answerMoney = answerMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}